home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form frmDocumentName
- BorderStyle = 3 'Fixed Double
- Caption = "Name and Type"
- ClientHeight = 2415
- ClientLeft = 1590
- ClientTop = 1635
- ClientWidth = 3375
- ControlBox = 0 'False
- Height = 2820
- Left = 1530
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 2415
- ScaleWidth = 3375
- Top = 1290
- Width = 3495
- Begin CommandButton CommandCancel
- Caption = "Cancel"
- Height = 435
- Left = 2070
- TabIndex = 6
- Top = 1920
- Width = 1155
- End
- Begin CommandButton CommandOK
- Caption = "OK"
- Default = -1 'True
- Height = 435
- Left = 180
- TabIndex = 5
- Top = 1920
- Width = 1155
- End
- Begin Frame Frame1
- Caption = "Save Type"
- Height = 915
- Left = 150
- TabIndex = 2
- Top = 870
- Width = 3075
- Begin OptionButton OptionDocumentType
- Caption = "Ole 2"
- Height = 255
- Index = 1
- Left = 360
- TabIndex = 4
- Top = 570
- Width = 2355
- End
- Begin OptionButton OptionDocumentType
- Caption = "Access 1.x"
- Height = 255
- Index = 0
- Left = 360
- TabIndex = 3
- Top = 300
- Value = -1 'True
- Width = 2355
- End
- End
- Begin TextBox TextDocumentName
- Height = 405
- Left = 120
- TabIndex = 1
- Top = 330
- Width = 3075
- End
- Begin Label Label1
- Caption = "Document Name"
- Height = 255
- Left = 120
- TabIndex = 0
- Top = 90
- Width = 1575
- End
- Sub CommandCancel_Click ()
- sDocumentName = ""
- Hide
- End Sub
- Sub CommandOK_Click ()
- Dim i As Integer
- sDocumentName = TextDocumentName.Text
- For i = 0 To DOCUMENT_TYPE_MAX
- If OptionDocumentType(i).Value Then
- iDocumentType = i
- Exit For
- End If
- Next
- Hide
- End Sub
-